package com.exam.dataobject.mapper;

import com.exam.vo.QuestionAnswerVO;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * Created by v
 * Date:2019/2/23
 * Time:20:39
 */
public interface ExaminationResultMapper {

    List<QuestionAnswerVO> getQuestionAnswerList(@Param("examinationResultId") Integer examinationResultId);

    Page<Map<String, Object>> getExaminationResultList();

    Page<Map<String, Object>> getExaminationResultListByUserId(@Param("userId") Integer userId);
}
